﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HZ.DrugTrade.Web.TestPage
{
    public partial class test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            System.Data.DataTable dt = new System.Data.DataTable();

            dt.Columns.Add(new System.Data.DataColumn("testid", Type.GetType("System.String")));

            for (int _index = 0; _index < 720000; _index++)
            {
                System.Data.DataRow dr = dt.NewRow();

                dr["testid"] = _index.ToString();

                dt.Rows.Add(dr);
            }
            
            HZ.Excel.ExcelHelper.ExportDataForWeb(dt, GvRelaion);
        }
    }
}
